let news = require('./routes/news');
let user = require('./routes/user');
module.exports = (app)=>{
    //router = koa-router express.Router();
    //controller是一个对象，下面挂着所有的控制器
  const {router,controller} = app;
  user(router,controller);
}